package top.mccat.filesystem.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author JMY
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/2/22 9:18
 * @Created by JMY
 */
@Data

public class MyFile {
    private int fileId;
    private String fileName;
    private String fileSuffix;
    private Long fileSize;
    private Long fileAuthor;
    private int fileParent;
    @JsonFormat(pattern="yyyy-MM-dd kk:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date fileDate;
    private String fileRemark;
}
